We don't need to hard-code any magic offsets to hide the top corners
and border, we can just not add them in the first place.
spacing: 4px;
padding: 4px;
border: 2px solid grey;
- border-radius: 4px;
+ border-top-width: 0;
+ border-radius: 0 0 4px 4px;
}
#LookingGlassDialog > #Toolbar {
let availableHeight = primary.height - Main.layoutManager.keyboardBox.height;
let myHeight = Math.min(primary.height * 0.7, availableHeight * 0.9);
this.actor.x = primary.x + (primary.width - myWidth) / 2;
- this._hiddenY = primary.y + Main.layoutManager.panelBox.height - myHeight - 4; // -4 to hide the top corners
+ this._hiddenY = primary.y + Main.layoutManager.panelBox.height - myHeight;
this._targetY = this._hiddenY + myHeight;
this.actor.y = this._hiddenY;
this.actor.width = myWidth;